{%extends "base.html"%}
{%block mainmenu%}
<a href="{%url codereview.views.index%}" class="active">Issues</a>
<a href="{%url codereview.views.search%}">Search</a>
{%endblock%}

{%block title1%}Block a user -{%endblock%}
{%block head%}{{form.media}}{%endblock%}
{%block body%}
<h2>Blocking {{viewed_account.email}} ({{viewed_account.nickname}})</h2>

<form action="{%url codereview.views.block_user viewed_account.email%}" method="post">
<input type="hidden" name="xsrf_token" value="{{xsrf_token}}">
<table class="formtable">
{{form}}
<tr><td><input type="submit" value="Update"></td></tr>
</table>
</form>
{%endblock%}
